<?php
global $_RQ,$_AR;
//判断是否来自场景体,底部菜单不变
if($_RQ['plugin_name']){
	$this->session('plugin_name',$_RQ['plugin_name']);
}
$plugin_name=$this->session('plugin_name')?$this->session('plugin_name'):'';
if($plugin_name){
	$return['footernav']=$this->plugin($plugin_name)->plugin_setting('basic')['footernav'];
}
$return['pluginset']=$this->plugin_setting('basic');
$return['sharedata']=array(
		'title'=>$return['pluginset']['share_title']?$return['pluginset']['share_title']:'首页-中医馆',
		'desc'=>$return['pluginset']['share_desc']?$return['pluginset']['share_desc']:'中医馆，一个属于自己的中医馆！',
		'link'=>custom_url('jy_zhongyi/index//fromuser='.$_SESSION['uid'],true),
		'imgUrl'=>ATTACHMENT_URL.$return['pluginset']['share_image']
);
$this->model('task')->orderup();
?>